package com.green.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.green.business.domain.Goods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * @Author: Green
 * @Date: 2021/11/15/17:22
 * @Description: 
 */


public interface GoodsMapper extends BaseMapper<Goods> {
    Integer selectMaxGoodsId();

    void downByIds(@Param("idsList") List<Integer> idsList, @Param("name") String name);

    void downById(@Param("value") Integer id, @Param("name") String name);
}